package com.peanut.interceptor;

import com.mvc.interceptor.MappedHandlerInterceptor;
import com.spring.annotation.Component;

@Component
public class LoginFilter extends MappedHandlerInterceptor {
	
	public LoginFilter() {
		this.order = 3;
		
		this.interceptor = new LoginInterceptor();
		this.includedUrl = new String[]{"*.do"};
		this.excludedUrl = new String[]{"*login.do","*logout.do","/public/*.do"};    //       /public/*.do  是开放给前端普通用户的,不需要登录，不需要权限
	}
}
